package appapi.dao;
import org.apache.ibatis.annotations.Param;

import appapi.Request.Basic.EquipMaintenanItemReq;
import appapi.entity.basic.EquipmaintenanitemEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 13:39
 */
@Mapper
public interface EquipmaintenanitemMapper {
    int deleteByPrimaryKey(Long mainItemId);

    int insert(EquipmaintenanitemEntity record);

    int insertSelective(EquipmaintenanitemEntity record);

    List<EquipmaintenanitemEntity> queryList(EquipMaintenanItemReq req);

    EquipmaintenanitemEntity selectByPrimaryKey(Long mainItemId);

    int count(EquipmaintenanitemEntity record);

    int updateByPrimaryKeySelective(EquipmaintenanitemEntity record);

    int updateByPrimaryKey(EquipmaintenanitemEntity record);

    int insertList(@Param("list")List<EquipmaintenanitemEntity> list);

    int insertBatch(List<EquipmaintenanitemEntity> record);

    int deleteBatch(@Param("itemIds") List<Long> itemIds);

}